package service;

import model.Query;
import model.bo.GoodsBO;
import model.bo.ReplyBO;
import model.bo.SpecBO;
import model.InnerResult;

public interface GoodsService {
    InnerResult getTypes();

    InnerResult getGoodsByType(Query query);

    InnerResult addGoods(GoodsBO goodsBO);

    InnerResult getGoodsInfo(String id);

    InnerResult updateGoods(GoodsBO goodsBO, String path);

    InnerResult addSpec(SpecBO spec);

    InnerResult deleteSpec(SpecBO spec);

    InnerResult deleteGoods(String id, String path);

    InnerResult repliedMsg();

    InnerResult noReplyMsg();

    InnerResult reply(ReplyBO reply);
}
